<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Login</title>
    <link rel="stylesheet" href="<?php echo base_url(); ?>assets/css/bootstrap.min.css">
    <link rel="stylesheet" href="<?php echo base_url(); ?>assets/css/login.css">
</head>
<body>
    <div class="container">
        <div class="text-center">
          <div align="center">
            <h2>Restoran Karnivor</h2>
          </div>
        </div>
        <div class="tab-content">
            <div id="login" class="tab-pane active">
                <form method="post" action="<?= base_url()."index.php/site/login_process/" ?>" class="form-signin" method="post">
					<?php if($flashdata != NULL){
						echo "<div class='form-info ".($flashdata['success'] ? 'success' : 'fail')."'>".$flashdata['msg']."</div>";
						}
					?>
					<p class="muted text-center">&nbsp;</p>
					<input type="text" name="username" placeholder="Username" class="input-block-level" />
					<input type="password" placeholder="Password" name="password" class="input-block-level" />
					<p class="muted text-center">&nbsp;</p>
					<input type="submit" value="LOGIN" name="submit" class="btn btn-large btn-primary btn-block" />
				</form>
            </div>
        </div>
    </div> 
</body>
</html>
